import request from "@/utils/request.js"

// 获取用户信息
export function getUserInfo(data) {
    return request({
        url: "/ruoyi-background/users/getInfo",
        method: "GET",
        params: data
    })
}

// 修改用户信息
export function editUser(data) {
    return request({
        url: "/ruoyi-background/users/edit",
        method: "POST",
        data: data
    })
}

// 退出登录
export function loginOut(data) {
    return request({
        url: "/user/userlogin/loginOut",
        method: "GET",
        params: data
    })
}